﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.BusinessManage
{
    /// <summary>
    /// 采购管理
    /// </summary>
    public class ProcureManagement : KeyEntity
    {
        /// <summary>
        /// 采购单号
        /// </summary>
        public string? ProcurementCode { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public int DocumentType { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public int DocumentState { get; set; }
        /// <summary>
        /// 关联销售单号
        /// </summary>
        public string? SaleCode { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? SupplierCode { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ProcurementTime { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? ContactName { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 收货时间
        /// </summary>
        public DateTime ReceiptTime { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakerName { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime MakerTime { get; set; }
        /// <summary>
        /// 是否入账
        /// </summary>
        public bool ProcurementProcurement { get; set; }
        /// <summary>
        /// 是否退货
        /// </summary>
        public bool IsReFund { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public ProcurementState ProcurementState { get; set; }
    }
}
